package com.zl.smartmall.library.po;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 考拉合作加盟商家信息
 *
 */
public class ShopsIntroduce implements Parcelable {

	private int id;
	private String name;//商家名称
	private String content;//商家介绍
	private int shoptype;//商家类型（1，考拉联盟2，合作）
	private int cmid;//运营中心id
	private String pic;//商家的logo
	private String createat;//添加时间
	private int wheathershow;//显示状态（0.不显示，1.显示）

	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public int getShoptype() {
		return shoptype;
	}


	public void setShoptype(int shoptype) {
		this.shoptype = shoptype;
	}


	public int getCmid() {
		return cmid;
	}


	public void setCmid(int cmid) {
		this.cmid = cmid;
	}


	public String getPic() {
		return pic;
	}


	public void setPic(String pic) {
		this.pic = pic;
	}


	public String getCreateat() {
		return createat;
	}


	public void setCreateat(String createat) {
		this.createat = createat;
	}


	public int getWheathershow() {
		return wheathershow;
	}


	public void setWheathershow(int wheathershow) {
		this.wheathershow = wheathershow;
	}


	public ShopsIntroduce(){
		
	}

	
	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeInt(id);
		dest.writeString(name);
		dest.writeString(content);
		dest.writeInt(shoptype);
		dest.writeInt(cmid);
		dest.writeString(pic);
		dest.writeString(createat);
		dest.writeInt(wheathershow);
	}
	public ShopsIntroduce(Parcel source){
		id = source.readInt();
		name = source.readString();
		content = source.readString();
		cmid = source.readInt();
		shoptype = source.readInt();
		pic = source.readString();
		createat = source.readString();
		wheathershow = source.readInt();
		
	}
	
	public static final Parcelable.Creator<ShopsIntroduce> CREATOR = new Creator<ShopsIntroduce>() {
		
		@Override
		public ShopsIntroduce[] newArray(int size) {
			return new ShopsIntroduce[size];
		}
		
		@Override
		public ShopsIntroduce createFromParcel(Parcel source) {
			return new ShopsIntroduce(source);
		}
	};
	
}
